<?php

print "
		<br><center>
		<table width=380 cellspacing=0>
		<tr>
		<td bgcolor=$topAndBottomBG>
		<center><b><font color=$topAndBottomText>Selected Item</font></b></center>
		</td>
		<td width=300 bgcolor=$topAndBottomBG>
		<center><b><font color=$topAndBottomText>Item Details</font></b></center>
		</td>
		</tr>
		<tr height=100>
		<td valign=middle>
		<p align=center><img src=images/user_images/opg_$game/items/item_$find_item2[id].gif>
		<br>
		<b>$find_item2[item_name]</b>
		</td>
		<td width=300><p align=center>
";

$query = mysql_query("SELECT * FROM user_pets2 WHERE owner = '$userid' AND adoption = '0' AND game = '$game'");
while ($array = mysql_fetch_array($query))
{
	$petID = $array[id];
	print "<a href=useitems.php?game=$game&action=use&id=$id&item_action=feed2&feed_to=$petID>Feed to $array[name]</a><br>";
}

print "
		</p>
		</td>
		</tr>
		</table>
		</center>
";

?>
